package com.wenwei.sharebox.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/18.
 */
public class BaseGoodsBean {


    /**
     * timestamp : 1500449823111
     * code : 200
     * message : data success
     * path : http://localhost:8080/api/home/shareShopRents
     * method : GET
     * total : 2
     * total_page : 1
     * now_page : 0
     * page_size : 0
     * per_total : 2
     * data : [{"id":1,"shopClassId":1,"shopName":"地表最强商家","leaveUnusedId":0,"img":"http://img2.3lian.com/2014/f4/102/d/91.jpg","shopImages":[],"shopDescription":"地表最强商品","isRent":0,"isBuy":1,"integralNum":0,"money":100,"getIntegral":0,"longitude":null,"latitude":null,"state":0,"isOverdue":0,"sales":0,"createdTime":1500448396000,"updatedTime":null,"deletedTime":1501485200000},{"id":2,"shopClassId":1,"shopName":"精品礼盒旗舰店","leaveUnusedId":0,"img":"http://imgsrc.baidu.com/imgad/pic/item/a50f4bfbfbedab640fd8a6e3fd36afc379311e6e.jpg","shopImages":[],"shopDescription":"精品礼盒","isRent":0,"isBuy":1,"integralNum":0,"money":100,"getIntegral":0,"longitude":null,"latitude":null,"state":0,"isOverdue":0,"sales":0,"createdTime":null,"updatedTime":null,"deletedTime":null}]
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private int total;
    private int total_page;
    private int now_page;
    private int page_size;
    private int per_total;
    private List<DataBean> data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public int getNow_page() {
        return now_page;
    }

    public void setNow_page(int now_page) {
        this.now_page = now_page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public int getPer_total() {
        return per_total;
    }

    public void setPer_total(int per_total) {
        this.per_total = per_total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * shopClassId : 1
         * shopName : 地表最强商家
         * leaveUnusedId : 0
         * img : http://img2.3lian.com/2014/f4/102/d/91.jpg
         * shopImages : []
         * shopDescription : 地表最强商品
         * isRent : 0
         * isBuy : 1
         * integralNum : 0
         * money : 100
         * getIntegral : 0
         * longitude : null
         * latitude : null
         * state : 0
         * isOverdue : 0
         * sales : 0
         * createdTime : 1500448396000
         * updatedTime : null
         * deletedTime : 1501485200000
         */

        private int id;
        private int shopClassId;
        private String shopName;
        private int leaveUnusedId;
        private String img;
        private String shopDescription;
        private int isRent;
        private int isBuy;
        private int integralNum;
        private float money;
        private int getIntegral;
        private Object longitude;
        private Object latitude;
        private int state;
        private int isOverdue;
        private int sales;
        private long createdTime;
        private Object updatedTime;
        private long deletedTime;
        private List<?> shopImages;
        private String addressName;

        public String getAddressName() {
            return addressName;
        }

        public void setAddressName(String addressName) {
            this.addressName = addressName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getShopClassId() {
            return shopClassId;
        }

        public void setShopClassId(int shopClassId) {
            this.shopClassId = shopClassId;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public int getLeaveUnusedId() {
            return leaveUnusedId;
        }

        public void setLeaveUnusedId(int leaveUnusedId) {
            this.leaveUnusedId = leaveUnusedId;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getShopDescription() {
            return shopDescription;
        }

        public void setShopDescription(String shopDescription) {
            this.shopDescription = shopDescription;
        }

        public int getIsRent() {
            return isRent;
        }

        public void setIsRent(int isRent) {
            this.isRent = isRent;
        }

        public int getIsBuy() {
            return isBuy;
        }

        public void setIsBuy(int isBuy) {
            this.isBuy = isBuy;
        }

        public int getIntegralNum() {
            return integralNum;
        }

        public void setIntegralNum(int integralNum) {
            this.integralNum = integralNum;
        }

        public float getMoney() {
            return money;
        }

        public void setMoney(float money) {
            this.money = money;
        }

        public int getGetIntegral() {
            return getIntegral;
        }

        public void setGetIntegral(int getIntegral) {
            this.getIntegral = getIntegral;
        }

        public Object getLongitude() {
            return longitude;
        }

        public void setLongitude(Object longitude) {
            this.longitude = longitude;
        }

        public Object getLatitude() {
            return latitude;
        }

        public void setLatitude(Object latitude) {
            this.latitude = latitude;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getIsOverdue() {
            return isOverdue;
        }

        public void setIsOverdue(int isOverdue) {
            this.isOverdue = isOverdue;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }

        public Object getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(Object updatedTime) {
            this.updatedTime = updatedTime;
        }

        public long getDeletedTime() {
            return deletedTime;
        }

        public void setDeletedTime(long deletedTime) {
            this.deletedTime = deletedTime;
        }

        public List<?> getShopImages() {
            return shopImages;
        }

        public void setShopImages(List<?> shopImages) {
            this.shopImages = shopImages;
        }
    }
}
